package siberia.ast.stmt;

import siberia.ast.expr.Expr;
import siberia.ast.expr.IdentifierExpr;

import java.util.Vector;

public class FuncDefStmt extends Stmt {
    IdentifierExpr identifier;
    Vector<Expr> parameters = new Vector<>();
    Block block;

    public FuncDefStmt(IdentifierExpr identifier, Block block, int line) {
        this.identifier = identifier;
        this.block = block;
        this.line = line;
    }

    public StmtType type() {
        return StmtType.FuncDefStmt;
    }
}
